package com.oig.sys.msg.api;

import com.oig.sys.msg.api.factory.MqMsgServiceFallbackFactory;
import com.oig.sys.msg.dto.MqMsgDto;
import com.oig.sys.msg.vo.MqMsgVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


@FeignClient(contextId="mqMsgService", value="sys-msg-server", path="/mqMsg", fallbackFactory= MqMsgServiceFallbackFactory.class)
public interface MqMsgService {

    //@Operation(summary = "添加mq消息内容")
    @PostMapping(value = "/add")
    MqMsgVo addMqMsg(@RequestBody MqMsgDto mqMsgDto) ;


}
